Skip to content

[fix-finder] Localize missing Java wrapper XML error - #12737

Merged
jonathanpeppers merged 3 commits into
mainfrom
fix/localize-jcw-missing-file-eab2f13da5791baa
Sep 10, 2026
Merged

jonathanpeppers merged 3 commits into
mainfrom
fix/localize-jcw-missing-file-eab2f13da5791baa

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

AI-generated fix. Produced by the nightly-fix-finder agentic workflow.

Problem

GenerateJavaCallableWrappers emitted a hardcoded, uncoded error when its intermediate Java callable wrapper XML file was missing. This prevented localization and gave the diagnostic no stable XA code.

Fix

Added localized error XA4264 to the English resources and checked-in accessor, updated the task to emit the coded diagnostic, and documented XA4264 in the message reference, index, and TOC.

Validation

  • MSBUILD_ARGS='-p:AndroidSdkDirectory=/home/runner/work/android/android/bin/Debug/android-sdk -p:AndroidNdkDirectory=/home/runner/work/android/android/bin/Debug/android-ndk' ./build.sh Prepare — passed
  • ./dotnet-local.sh build for AndroidBuildConfig, Java.Interop.Tools.Maven, and Xamarin.Android.Tools.Aidl — passed
  • GRADLE_USER_HOME=/tmp/gh-aw/agent/gradle-home ./dotnet-local.sh build src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj -m:1 --no-restore -p:BuildProjectReferences=false -p:AndroidSdkDirectory=/home/runner/work/android/android/bin/Debug/android-sdk -p:AndroidNdkDirectory=/home/runner/work/android/android/bin/Debug/android-ndk — passed

Fix-finder metadata

  • Script: 08-string-literal-error-messages
  • Score: 27/30 (actionability: 10, safety: 9, scope: 8)

Generated by Nightly Fix Finder · gpt56 · 174.2 AIC · ⌖ 45.5 AIC · ⊞ 23.9K · ◷

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jonathanpeppers
jonathanpeppers enabled auto-merge (squash) September 10, 2026 14:02
@jonathanpeppers
jonathanpeppers merged commit e9e5de3 into main Sep 10, 2026
44 checks passed
@jonathanpeppers
jonathanpeppers deleted the fix/localize-jcw-missing-file-eab2f13da5791baa branch September 10, 2026 15:13
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant